﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LongSCADA_WPF.Models
{
    [SugarTable("user")]
    public class UserModel:EntityBase
    {
		private string _userName;

		public string UserName
		{
			get => _userName;
			set => SetProperty(ref _userName, value);
		}

		private string _passWord;

		public string PassWord
		{
			get => _passWord;
			set => SetProperty(ref _passWord, value);
		}

		private int _role;

		/// <summary>
		/// 0 -> 管理员  1 -> 测试用户
		/// </summary>
		public int Role
		{
			get => _role;
			set => SetProperty(ref _role, value);
		}


	}
}
